-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
phoebus-setup-hook: add java heap size and change encoding by default for phoebus #97
base: master
Are you sure you want to change the base?
phoebus-setup-hook: add java heap size and change encoding by default for phoebus #97
Conversation
Can you also rename your commit to |
The wrapper was added for edit JAVA_OPTS in options.
d4a55fd
to
53ae6af
Compare
Add the possibility to enable phoebus in a nixos configuration Add the possibility to edit java_opts
53ae6af
to
da863ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now, the options you added won't be shown in the documentation. You'll need to add a docs/nixos-services/options-reference/phoebus-client.rst
file, similar to the other files there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now, the options you added won't be shown in the documentation. You'll need to add a
docs/nixos-services/options-reference/phoebus-client.rst
file, similar to the other files there.
I add the file
|
||
# This wrapper for the `phoebus-unwrapped` executable sets the `JAVA_OPTS` | ||
makeWrapper "${lib.getExe epnix.phoebus-unwrapped}" "$out/bin/$pname" \ | ||
--prefix JAVA_OPTS ":" "${java_opts}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JAVA_OPTS
is a variable separated by spaces (instead of :
). Found this by looking at the generated wrapper script, and saw that it weirdly split the ${java_opts}
by :
. I don't know if this could lead to issues, but let's not take that risk.
--prefix JAVA_OPTS ":" "${java_opts}" | |
--prefix JAVA_OPTS " " "${java_opts}" |
No description provided.